package com.wangdong.mvpretrofitokhttprxjava.utils;

import android.content.Context;
import android.content.SharedPreferences;



/**
 * SP管理器
 */
public class SharedPrefsUtil {

    public final static String FirstLy = "isFirstIn_";

    public static final String UUID = "UUID";//UUID






    public static String readUUID() {
        return PreferencesUtil.getString(SharedPrefsUtil.UUID, "");
    }

    public static void saveUUID(String uuid) {
        PreferencesUtil.setString(UUID, uuid);
    }





    public static void clearData(Context context) {
        //清楚本地token
        String uuid = PreferencesUtil.getString(SharedPrefsUtil.UUID, "");



        PreferencesUtil.setString(SharedPrefsUtil.UUID, uuid);

    }



}
